package com.joyoung.sweep.model;



/**
 * Created by wubin on 2016/10/11.
 */

public class UserConfirmData {


  private String access_token;
  private String session_id;
  private String sessionkey;
  private JyUser user;
  private DataBean data;

  private Integrals integral;

  public Integrals getIntegral() {
    return integral;
  }

  public void setIntegral(Integrals integral) {
    this.integral = integral;
  }

  public String getSessionkey() {
    return sessionkey;
  }

  public void setSessionkey(String sessionkey) {
    this.sessionkey = sessionkey;
  }

  public JyUser getUser() {
    return user;
  }

  public void setUser(JyUser user) {
    this.user = user;
  }

  public DataBean getData() {
    return data;
  }

  public void setData(DataBean data) {
    this.data = data;
  }


  public String getAccess_token() {
    return access_token;
  }

  public void setAccess_token(String access_token) {
    this.access_token = access_token;
  }

  public String getSession_id() {
    return session_id;
  }

  public void setSession_id(String session_id) {
    this.session_id = session_id;
  }

  public static class DataBean {

    /**
     * id : f081f11caae54ffba46b2d1953a93da5
     * uname : 15267890676
     * gender : 1
     * nickname : 小阳0000
     * mobilenum : 15267890676
     * email :
     * sourcetype : 0
     * crtdate : 1470276994000
     * passwd : 96e79218965eb72c92a549dd5a330112
     * valid : 0
     * isModifyNickname : 1
     * lastActTime : 1476687103000
     * openid3rd :
     * familySize : 0
     * ubid : NKKvJwKLTyc=
     * version : 1
     * mobile_id : 106bd021-fe2e-4f20-9063-e292fe16baba
     */

    private UserBean user;

    public UserBean getUser() {
      return user;
    }

    public void setUser(UserBean user) {
      this.user = user;
    }

    public static class UserBean {


      private long crtdate;
      private int valid;
      private String isModifyNickname;
      private long lastActTime;
      private String ubid;


      private String op_action;
      private String id = "joyoung";// 用户id
      private String nikename = "";// 用户呢称
      private String uname = "";
      private String passwd = "";
      private String sourcetype = "-1";
      private String nickname;
      private String openid3rd;
      private int familySize;
      private int version;
      private String mobile_id;
      private String mobilenum = "";// 手机号码
      private int gender;// 性别 0女1男
      private String birthdate;
      private String email = "";
      private String note = "";
      private String uimg = "";

      public String getId() {
        return id;
      }

      public void setId(String id) {
        this.id = id;
      }

      public String getUname() {
        return uname;
      }

      public void setUname(String uname) {
        this.uname = uname;
      }

      public int getGender() {
        return gender;
      }

      public void setGender(int gender) {
        this.gender = gender;
      }

      public String getNickname() {
        return nickname;
      }

      public void setNickname(String nickname) {
        this.nickname = nickname;
      }

      public String getMobilenum() {
        return mobilenum;
      }

      public void setMobilenum(String mobilenum) {
        this.mobilenum = mobilenum;
      }

      public String getEmail() {
        return email;
      }

      public void setEmail(String email) {
        this.email = email;
      }

      public String getSourcetype() {
        return sourcetype;
      }

      public void setSourcetype(String sourcetype) {
        this.sourcetype = sourcetype;
      }

      public long getCrtdate() {
        return crtdate;
      }

      public void setCrtdate(long crtdate) {
        this.crtdate = crtdate;
      }

      public String getPasswd() {
        return passwd;
      }

      public void setPasswd(String passwd) {
        this.passwd = passwd;
      }

      public int getValid() {
        return valid;
      }

      public void setValid(int valid) {
        this.valid = valid;
      }

      public String getIsModifyNickname() {
        return isModifyNickname;
      }

      public void setIsModifyNickname(String isModifyNickname) {
        this.isModifyNickname = isModifyNickname;
      }

      public long getLastActTime() {
        return lastActTime;
      }

      public void setLastActTime(long lastActTime) {
        this.lastActTime = lastActTime;
      }

      public String getOpenid3rd() {
        return openid3rd;
      }

      public void setOpenid3rd(String openid3rd) {
        this.openid3rd = openid3rd;
      }

      public int getFamilySize() {
        return familySize;
      }

      public void setFamilySize(int familySize) {
        this.familySize = familySize;
      }

      public String getUbid() {
        return ubid;
      }

      public void setUbid(String ubid) {
        this.ubid = ubid;
      }

      public int getVersion() {
        return version;
      }

      public void setVersion(int version) {
        this.version = version;
      }

      public String getMobile_id() {
        return mobile_id;
      }

      public void setMobile_id(String mobile_id) {
        this.mobile_id = mobile_id;
      }
    }
  }
}
